/*!
 * jQuery contextMenu - Plugin for simple contextMenu handling
 *
 * Version: 1.6.5
 *
 * Authors: Rodney Rehm, Addy Osmani (patches for FF)
 * Web: http://medialize.github.com/jQuery-contextMenu/
 *
 * Licensed under
 *   MIT License http://www.opensource.org/licenses/mit-license
 *   GPL v3 http://opensource.org/licenses/GPL-3.0
 *
 */

.context-menu-list {
    margin:0;
    padding:0;

    min-width: 120px;
    max-width: 250px;
    display: inline-block;
    position: absolute;
    list-style-type: none;

    border: rgba(255,255,255,0.1) solid 5px;
    background-color:transparent;

    box-shadow: rgba(0, 0, 0, 0.2) 0 0px 100px;
    border-radius:5px;
    font-size: 11px;
    z-index: 99;

}

.context-menu-item {
    padding: 2px 2px 2px 32px;
    line-height: 30px;
    background-color: #395C6F;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    border-bottom: rgba(0,0,0,0.5) solid 1px;
}
.context-menu-item:nth-child(1) {
    border-top: rgba(0,0,0,0.5) solid 1px;
}
.context-menu-separator {
    padding-bottom:0;
}

.context-menu-item > label > input,
.context-menu-item > label > textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.context-menu-item.hover, .context-menu-item:hover {
    cursor: pointer;
    background-color: #51829B;
}

.context-menu-item.disabled {
    color: #666;
}

.context-menu-input.hover,
.context-menu-item.disabled.hover {
    cursor: default;
    background-color: #EEE;
}

.context-menu-submenu:after {
    content: ">";
    color: #666;
    position: absolute;
    top: 0;
    right: 3px;
    z-index: 50000;
}

/* icons
    #protip:
    In case you want to use sprites for icons (which I would suggest you do) have a look at
    http://css-tricks.com/13224-pseudo-spriting/ to get an idea of how to implement 
    .context-menu-item.icon:before {}
 */
.context-menu-item.icon { min-height: 30px; min-width: 30px; background-repeat: no-repeat; background-position: 4px 4px; }
.context-menu-item.icon-edit { background-image: url(../../img/edit.png); }
.context-menu-item.icon-delete { background-image: url(../../img/delete.png); }
.context-menu-item.icon-add { background-image: url(../../img/add.png); }
.context-menu-item.icon-S_FOLDER { background-image: url(../../img/folder.png); }
.context-menu-item.icon-BW_ROLE { background-image: url(../../img/role.png); }
.context-menu-item.icon-report { background-image: url(../../img/report.png); }
.context-menu-item.icon-REPORT_GROUP { background-image: url(../../img/kpig.png); }

.context-menu-item.icon-BO_WEBI { background-image: url(../../img/bo_webi_24x24.png); }
.context-menu-item.icon-BO_CRYSTAL { background-image: url(../../img/bo_crystal_24x24.png); }
.context-menu-item.icon-BW_BEX7 { background-image: url(../../img/bex7_24x24.png);}
.context-menu-item.icon-BW_BEX3 { background-image: url(../../img/bex3_24x24.png);}
.context-menu-item.icon-BO_DASHBOARD { background-image: url(../../img/bo_webi_24x24.png);}
.context-menu-item.icon-BO_ANALYSIS { background-image: url(../../img/bo_webi_24x24.png);}
.context-menu-item.icon-BO_EXPLORER { background-image: url(../../img/bo_webi_24x24.png);}


/* vertically align inside labels */
.context-menu-input > label > * { vertical-align: top; }

/* position checkboxes and radios as icons */
.context-menu-input > label > input[type="checkbox"],
.context-menu-input > label > input[type="radio"] {
    margin-left: -17px;
}
.context-menu-input > label > span {
    margin-left: 5px;
}

.context-menu-input > label,
.context-menu-input > label > input[type="text"],
.context-menu-input > label > textarea,
.context-menu-input > label > select {
    display: block;
    width: 100%;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.context-menu-input > label > textarea {
    height: 100px;
}
.context-menu-item > .context-menu-list {
    display: none;
    /* re-positioned by js */
    right: -5px;
    top: 5px;
}

.context-menu-item.hover > .context-menu-list {
    display: block;
}

.context-menu-accesskey {
    text-decoration: underline;
}
